<?php
use Buan\View;
View::getGlobalView()->addStylesheets("{$baseUrl}/front-end.css");

$content = $page->getInnerContent()->content;
?>
<div id="main" <?php echo isset($content->contentsecondary) && $content->contentsecondary!='' ? 'class="half-width"' : ''; ?>>
	<?php echo isset($content->contentprimary) ? $content->contentprimary : ''; ?>
</div>

<?php if(isset($content->contentsecondary) && $content->contentsecondary!=''): ?>
	<div id="secondary">
		<?php echo $content->contentsecondary; ?>
	</div>
<?php endif; ?>